<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN"> 
<head>
	
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<script type="text/javascript" src="js/jquery/jquery.js"></script>

	<!-- INCLUDE meta.html -->

</head>


<body>
<div class='maindiv'>

<div class="headerdiv">
	<!-- INCLUDE header.html -->
</div>

<div id='contentdiv'>
	<div id='left'>
    	<div style="margin:10px;margin-top:30px;">
        	<ul>
                <li><a href="javascript:empty_hot();">{EMPTY_HOT}</a></li>
            </ul>
    		
        </div>
    </div>
    <div id='maindiv'>
    	<div class="description">
			{page_description}
        </div>
        
        <div class="real_content">
            <!-- INCLUDE hot_list.html -->
			<br />
        </div>
        
    </div>
</div>


<script>
function empty_hot()
{
	if (confirm('{EMPTY_CONFIRM}'))
	{
		$.post('admin.php?p=hot&m=empty',{ },function(s)
		{
			if (s == 'success')
				window.location.reload();
		});
	}
}
function delete_hot(id,o)
{
	$(o).attr('to_be_delete','yes').html('{DELETING}').unbind('click');
	$.post('admin.php?p=ajax&m=delete&table=hot&id='+id,{ },delete_callback);
}

function delete_callback(s)
{
	if (s == 'error')
	{
		alert('{DELETE_ERROR}');
		return false;
	}
	$('[to_be_delete=yes]').parent().parent().fadeOut();
}
</script>

<!-- INCLUDE footer.html -->

</div>
</body>
</html>